<!-- WAF修改 -->
<div class="waf_change" style="display: none;">
  <form class="behind_form">
    <table class="table table-striped">
        <tbody>
            <tr>
                <td>域名</td>
                <td>
                    <div class="row">
                      <div class="col-sm-8 col-xs-12">
                          <input type="text" name="waf_domain" value="" class="form-control" onlyread>
                      </div>
                      <div class="col-sm-4 col-xs-12 bsty">
                        <span style="color: #808080;">不允许修改</span>
                      </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>上线策略</td>
                <td>
                    <div class="row">
                      <div class="col-sm-8 col-xs-12">
                          <div>
                          <a style="width: 100px;" onclick="new MainFeatures().onlinemodel(1);" class="wafviewm1 btn btn-warning btn-embossed">仿真模式</a>&nbsp;
                          <a style="width: 100px;" onclick="new MainFeatures().onlinemodel(2);" class="wafviewm2 btn btn-warning btn-embossed">阻断模式</a>&nbsp;
                          <a style="width: 100px;" onclick="new MainFeatures().onlinemodel(3);"  class="wafviewm3 btn btn-warning btn-embossed">动态模式</a>&nbsp;
                        </div>
                      </div>
                      <div class="col-sm-4 col-xs-12 bsty">
                        <span style="color: #808080;"> 仿真模式：全局所有的规则都仿真</br>阻断模式：全局所有的规则都阻断</br>动态模式：全局所有的规则都按照规则设定的状态来动态调控</br></span>
                      </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>普通规则</td>
                <td>
                    <div class="row">
                      <div class="col-sm-8 col-xs-12">
                          <!-- table表格 -->
                        <table id="wafchangetable" class="table table-striped table-bordered table-hover" width="100%"></table>
                      </div>
                      <div class="col-sm-4 col-xs-12 bsty">
                        <span style="color: #808080;">点击按钮添加属性</span>
                      </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>高级规则</td>
                <td>
                    <div class="row">
                      <div class="col-sm-8 col-xs-12">
                        <div id="slidebtndiv1" name="seniorOpen" onclick="new MainFeatures().seniorView(this);" class="slidebtnclose1"><div id="slidebtndivdiv2" class="slidebtnclose2"></div></div>
                        
                        </br>
                        <div id="waf_rule_status">
                           <p>攻击规则状态:</p>
                          <select name="waf_rule_status" class="form-control selectpicker">
                            <option value="1">block</option>
                            <option value="2">simulation</option>
                          </select>
                        </div></br>
                        <div id="waf_rule_reg">
                          </br>
                          <p>正则:</p>
                          <div>
                            <input type="text" name="waf_rule_reg" value="" class="form-control" style="float: left; width: 100%;">&nbsp;
                          </div>
                        </div></br>
                        <div id="seniorValue">
                          <a style="width: 100px;" onclick="new MainFeatures().attrchangeView('clientip');" class="wafviewclientip-add btn btn-success btn-embossed">clientip+</a>&nbsp;
                          <a style="width: 100px;" onclick="new MainFeatures().attrchangeView('referer');" class="wafviewreferer-add btn btn-info btn-embossed">referer+</a>&nbsp;
                          <a style="width: 100px;" onclick="new MainFeatures().attrchangeView('useragent');" class="wafviewuseragent-add btn btn-danger btn-embossed">useragent+</a>
                        </div>
                          </br>
                          <div id="clientip">
                            <p>clientip:</p>
                            <div>
                              <input type="text" name="waf_rule_clientip" value="" class="form-control" style="float: left; width: 97%;">&nbsp;
                              <a data-toggle="tooltip" title="删除" class="fa fa-trash-o" href="#" onclick="new MainFeatures().wafRuleAddView('id010100_removeself',this);"></a>
                            </div>

                        </div></br></br>
                        <div id="referer">
                          <p>referer:</p>
                          <div>
                            <input type="text" name="waf_rule_referer" value="" class="form-control" style="float: left; width: 97%;">&nbsp;
                              <a data-toggle="tooltip" title="删除" class="fa fa-trash-o" href="#" onclick="new MainFeatures().wafRuleAddView('id010100_removeself',this);"></a>
                           </div>
                          </div></br></br>
                          <div id="useragent">
                            <p>useragent:</p>
                            <div>
                              <input type="text" name="waf_rule_useragent" value="" class="form-control" style="float: left; width: 97%;">&nbsp;
                              <a data-toggle="tooltip" title="删除" class="fa fa-trash-o" href="#" onclick="new MainFeatures().wafRuleAddView('id010100_removeself',this);"></a>
                            </div>
                          </div>
                        </div>

                      <div class="col-sm-4 col-xs-12 bsty">
                        <span style="color: #808080;">单击开关添加高级规则</span>
                      </div>
                    </div>
                </td>
            </tr>
        </tbody>
        <tfoot>
            <tr>
                <td></td>
                <td>
                    <a class="waf-add btn btn-success btn-embossed">提交规则</a>
                    <a class="behind-return btn btn-default btn-embossed">返回列表</a>
                </td>
                <td></td>
            </tr>
        </tfoot>
    </table>
</form>
  <ul id="ruleChangeID" style="display: none;"></ul>
</div>
<div class="waf_change_button" style="display: none;">
  <a class="src-assign btn btn-success btn-embossed" onclick="new MainFeatures().srcAssign();">提交</a>
  <button data-dismiss="modal" class="btn btn-default" type="button">关闭</button>
</div>

